@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: black;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}
.background{
  background-image: url("../img/fondo.png");
  background-size: cover;
  background-position: 70% center;
  padding: 30px 5%;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: clamp(24px, 4vw, 38px);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  margin-right: 12px;
  font-size: clamp(16px, 2vw, 22px);
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 40vh;
}

h1 {
  font-size: clamp(32px, 5vw, 65px);
}


/* ── CLIENTES ── */
.clientes {
  background: #fff;
  padding: 4rem 6%;
  color: #27124D;
}

.clientes-texto {
  font-size: clamp(1.1rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #27124D;
  max-width: 60%;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}

.carrusel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.carrusel-track-container {
  overflow: hidden;
  flex: 1;
}

.carrusel-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carrusel-track img {
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}


.car-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
  margin-top: 0;
  padding: 0;
}

.car-btn:hover {
  border-color: #2dbf9b;
  color: #2dbf9b;
  transform: scale(1.05);
}

.clientes-botones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cbtn {
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.7rem;
  transition: opacity 0.2s, transform 0.2s;
}

.cbtn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.cbtn-verde {
  background: #2dbf9b;
  color: #fff;
}

.cbtn-oscuro {
  background: #27124D;
  color: #fff;
}

.cbtn-outline {
  background: transparent;
  color: #27124D;
  border: 1.5px solid #27124D;
}



/* ── TESTIMONIOS ── */
.testimonios {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 6%;
  overflow: hidden;
}

.test-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/edificio.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.test-card {
  position: relative;
  z-index: 1;
  background-image: url("../img/cartas.jpg");
  border-radius: 20px;
  padding: 3rem 3.5rem;
  max-width: 680px;
  width: 100%;
  color: white;
  overflow: hidden;
}

.test-q {
  font-size: 5rem;
  color: #2dbf9b;
  line-height: 0;
  display: block;
  font-family: Georgia, serif;
}

.test-q-open {
  font-size: 5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.test-q-close {
  font-size: 5rem;
  text-align: right;
  margin-top: 0.5rem;
}

.test-track-container {
  overflow: hidden;
}

.test-track {
  display: flex;
  transition: transform 0.5s ease;
}

.test-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.test-slide p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1.5rem;
}

.test-autor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.test-autor strong {
  font-size: 1rem;
  color: white;
}

.test-autor span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.test-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.test-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  padding: 0;
}

.test-btn:hover {
  border-color: #2dbf9b;
  color: #2dbf9b;
  transform: scale(1.05);
}

.test-dots {
  display: flex;
  gap: 0.5rem;
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}

.test-dot.active {
  background: #2dbf9b;
}





/* ── FOOTER ── */
.footer {
  background: #fff;
}

.footer-titulo {
  padding: 4rem 6% 3rem;
}

.footer-titulo h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 50rem);
  font-weight: 800;
  line-height: 1.1;
}

.ft-violeta {
  color: #27124D;
}

.ft-verde {
  color: #2dbf9b;
}

.footer-inferior {
  background: #27124D;
  padding: 3rem 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  color: #fff;
}

.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo-hr {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.footer-logo-evolution {
  width:25vh;
  height: auto;
}

.footer-logo-evolution p {
  font-size: 0.7rem;
  color: #CD6829;
  font-style: normal;
  letter-spacing: 0.05em;
  margin-top: -0.2rem;
}

.footer-col h4 {
  color: #CD6829;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.9;
}





/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .left, .right {
    width: 100%;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav a {
    margin-left: 0;
  }

  .por-que {
    flex-direction: column;
  }

  .pq-imagen img {
    max-width: 100%;
  }
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}